YAYDP\API\Controllers\YAYDP_REST_PAGE_DATA_V1_CONTROLLER A

Total Complexity 69
Dependencies 9
Dependents 0
Total lines 482
Lines of code 361
Logical lines of code 123
Comment lines 92
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
register_routes()
A
36 1 128
get_removing_rules()
A
54 8 20
get_custom_filter()
S
56 6 16
save_page_data()
S
49 4 34
get_categories()
S
57 5 15
get_coupons()
S
57 5 15
get_products()
S
57 5 15
get_variations()
S
57 5 15
get_tags()
S
57 5 15
get_customer_roles()
S
57 5 15
get_customers()
S
57 5 15
get_shipping_regions()
S
57 5 15
get_payment_methods()
S
57 5 15
get_page_data()
S
58 2 16
__construct()
S
98 1 1
save_removing_rules()
S
65 1 8
permission_callback()
S
82 1 3